import { App } from '@vue/runtime-core';
import Locale from '../locales';//国际化
import * as ant from './antd';//ant按需引入组件
const antComponents: any = ant;

export default {
    install(Vue: App) {
        Vue.use(Locale);
        Object.keys(antComponents).forEach(name => {
            Vue.use(antComponents[name]);
        });
    }
};